﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShipmentAdd.aspx.cs" Inherits="ITOMMS.Web.InsideManage.ShipmentAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>出货情况添加</title>
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />
    <link rel="stylesheet" id='Link1' type="text/css" href="../css/jquery.Validator.Tooltip.css" />

    <script type="text/javascript" src="../js/jquery.pack.js"></script>

    <script type="text/javascript" src="../js/jquery.Validator.js"></script>

    <script type="text/javascript" src="../js/ymPrompt.js"></script>

    <!--用到日期控件才使用-->

    <script language="javascript" type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>


</head>
<body>
     <form id="aspnetForm" runat="server">
        <div id="message" style="background-color: Red">
        </div>
        <table class="tblDataArea" width="100%">
            <tr class="tblQueryArea">
                <td class="tblDataCaption" colspan="4">
                    <div style="width: 210px;" class="title">
                        <img src="../images/lv3.gif" style="margin-bottom: -3px;" alt="" />出货情况添加</div>
                    <asp:Button ID="btnBack" CssClass="cssButton" runat="server" Text="返回" OnClick="btnBack_Click" /></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    名称：
                </td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt名称" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox><span style="color: #ff0000">*</span></td>
                <td class="tdQueryCaption">
                    编号：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt编号" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    供货商：</td>
                <td class="tdQueryField"><span style="color: #ff0000">
                    <asp:DropDownList ID="ddl供应商" runat="server">
                    </asp:DropDownList>*</span></td>
                <td class="tdQueryCaption">
                    品牌：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt品牌" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    类别：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt类别" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    型号：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt型号" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    单位：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt单位" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    规格：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt规格" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    采购价：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt采购价" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    批发价：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt批发价" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    零售价：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt零售价" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    出货时间:</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt出货时间" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout='';WdatePicker({skin:'blue',dateFmt:'yyyy-MM-dd'});"
                        onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="height: 138px;">
                    备注：</td>
                <td class="tdQueryField" colspan="3" style="height: 138px">
                    <asp:TextBox ID="txt备注" runat="server" class="input_out" Height="248px" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" TextMode="MultiLine" Width="658px"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="height: 17px">
                    注：</td>
                <td class="tdQueryField" colspan="3" style="height: 17px">
                    <asp:RadioButton ID="RadioButton1" runat="server" GroupName="hang" Text="以上报价不含税" Checked="True" />
                    &nbsp;
                    <asp:RadioButton ID="RadioButton2" runat="server" GroupName="hang" Text="以上报价含税" /></td>
            </tr>
            <tr>
                <td class="tblDataCaption">
                </td>
                <td class="tblDataCaption">
                    <asp:Button ID="btnSave" CssClass="cssButton" runat="server" Text="提交" OnClientClick="javascript:return confirm('你确认要提交吗?');"
                        OnClick="btnSave_Click" /></td>
                <td class="tblDataCaption">
                </td>
                <td class="tblDataCaption">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
    <script type="text/javascript">

function check()
{
	if($.GetValidResult())/*验证表单*/
	{	
	    return true; 
	}
	else
	{
	    return false;
	}
}

    $("#txt名称").attr("dataType","Require");
    $("#txt名称").attr("tip", "名称不能为空");
    
        
    $("#ddl供应商").attr("dataType","OverEqualsZero");
    $("#ddl供应商").attr("tip", "供应商必须选取");
    
    

        $("#txt采购价").attr("dataType","Currency");
        $("#txt采购价").attr("require", "false");
       $("#txt采购价").attr("tip", "请输入正确的金额格式");

  
        $("#txt批发价").attr("dataType","Currency");
        $("#txt批发价").attr("require", "false");
         $("#txt批发价").attr("tip", "请输入正确的金额格式");


        $("#txt零售价").attr("dataType","Currency");
        $("#txt零售价").attr("require", "false");
        $("#txt零售价").attr("tip", "请输入正确的金额格式");

       
   
      
                
</script>
